import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'amfe-flexible';
// 引入Vant组件
import { Button, Icon, Tab, Tabs, TreeSelect, Stepper, ActionBar, ActionBarIcon, ActionBarButton, Toast, Dialog, Checkbox, CheckboxGroup, SubmitBar,ContactCard,Card, AddressList,AddressEdit,Form, Field, CellGroup } from 'vant'
// 引入Vant组件样式
import 'vant/lib/index.css';
// 引入全局CSS样式
import './common/css/base.css'
// import 'vant/es/toast/style';
const app = createApp(App);
// 挂载Vant组件
app.use(Button).use(Icon).use(Tab).use(Tabs).use(TreeSelect).use(Stepper).use(ActionBar).use(ActionBarIcon).use(ActionBarButton).use(Toast).use(Dialog).use(Checkbox).use(CheckboxGroup).use(SubmitBar).use(ContactCard).use(Card).use( AddressList).use(AddressEdit).use(Form).use(Field).use(CellGroup);
app.use(store).use(router).mount('#app')